/**
 * This software is released under a licence similar to the Apache Software Licence.
 * See org.logicalcobwebs.proxool.package.html for details.
 * The latest version is available at http://proxool.sourceforge.net
 */
package com.alex.common.persistent;

import javax.servlet.http.HttpServlet;

/**
 * Use this to admin each pool within Proxool. It acts like a normal servlet.,
 * so just configure it within your web app as you see fit. For example, within
 * web.xml:
 * 
 * <pre>
 *   &lt;servlet&gt;
 *       &lt;servlet-name&gt;Admin&lt;/servlet-name&gt;
 *       &lt;servlet-class&gt;org.logicalcobwebs.proxool.admin.servlet.AdminServlet&lt;/servlet-class&gt;
 *       &lt;init-param&gt;
 *            &lt;param-name&gt;output&lt;/param-name&gt;
 *            &lt;param-value&gt;full|simple&lt;/param-value&gt;
 *        &lt;/init-param&gt;
 *        &lt;init-param&gt;
 *            &lt;param-name&gt;cssFile&lt;/param-name&gt;
 *            &lt;param-value&gt;/my_path/my.css&lt;/param-value&gt;
 *        &lt;/init-param&gt;
 *   &lt;/servlet&gt;
 *   &lt;servlet-mapping&gt;
 *       &lt;servlet-name&gt;Admin&lt;/servlet-name&gt;
 *       &lt;url-pattern&gt;/proxool&lt;/url-pattern&gt;
 *   &lt;/servlet-mapping&gt;
 * </pre>
 * 
 * Options:
 * <ul>
 * <li>output: full|simple. "full" means with HTML header and body tags "simple"
 * means just the HTML. Choose "simple" if you are including this servlet within
 * your own web page. Note that if you choose simple output then you're probably
 * going to want to consider supplying some CSS to make it look nice.</li>
 * <li>cssFile: If you choose full output (see above) then some CSS is included,
 * inline, in the HTML header. If you specify a URL here then that file is also
 * linked to. It is linked after the inline CSS so you only have to override
 * thos styles you want to be different.</li>
 * </ul>
 * 
 * @author bill
 * @author $Author: billhorsman $ (current maintainer)
 * @version $Revision: 1.14 $, $Date: 2006/06/09 17:32:54 $
 * @since Proxool 0.7
 * 
 *        <p>
 *        Notice by huqi: ProxoolDataSource.registerPool()<br>
 *        The method setDelegateProperties should be run first before setUser
 *        and setPassword.
 * @author huqi
 * 
 * @see org.logicalcobwebs.proxool.admin.servlet.AdminServlet
 * @deprecated
 */
public class AdminServlet extends HttpServlet {
	/**
	 * dd-MMM-yyyy HH:mm:ss
	 * 
	 * @author mod by huqi - dd-MM-yyyy HH:mm:ss
	 */
	// private static final DateFormat DATE_FORMAT = new SimpleDateFormat(
	// "dd-MM-yyyy HH:mm:ss");

	/**
     * 
     */
	private static final long serialVersionUID = -5112276775002824387L;
}